package dto

type CreateOrder struct {
	// UserId | 用户id
	// Required: true
	UserId        string `form:"userId" json:"userId" xml:"userId" binding:"required,max=20"`
	OrderGoodsSku []OrderGoodsSku
}

type OrderGoodsSku struct {
	// GoodsSkuId | 商品SKUid
	// Required: true
	GoodsSkuId string `form:"goodsSkuId" json:"goodsSkuId" xml:"goodsSkuId" binding:"required,max=20"`
	// GoodsId | 商品数量
	// Required: true
	Count int64 `form:"count" json:"count" xml:"count" binding:"required,gte=0"`
}
